package cn.xinfei.xdecision.data.core.util;

import org.apache.commons.lang3.StringUtils;
import org.springframework.util.CollectionUtils;

import java.util.Collection;

public class VarCommonUtils {


    public static boolean isContainsEmptyStr(Collection<String> col) {
        if(CollectionUtils.isEmpty(col)) {
            return false;
        }
        return col.stream()
                .anyMatch(item -> item.equals(StringUtils.EMPTY));
    }
}
